﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace PwjCy.Lite.Core.Imp
{
    /// <summary>
    /// 启动服务上下文
    /// </summary>
    [XmlRoot("services")]
    public class BootServices
    {
        public BootServices()
        {
            service = new List<BootConfig>();
        }
        [XmlElement(ElementName = "service")]
        public List<BootConfig> service { get; set; }
    }

    public class BootConfig
    {
        [XmlAttribute("type")]
        public string type { get; set; }
        [XmlAttribute("driver")]
        public string driver { get; set; }
    }
}